﻿//
// InitializationCompleteEventArgs.cs
//
// Authors:
//    Claus Jørgensen <10229@iha.dk>
//    Jens Bloch Christensen <09584@iha.dk>
//    Jonas Daugaard Møller <08814@iha.dk>
//
using System;
using RSD.Robot;

namespace RSD.Robot
{
    /// <summary>
    /// Provides data for the <see cref="E:USBC.InitializationCompleted"/> event.
    /// </summary>
    public class InitializationCompletedEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:InitializationCompletedEventArgs"/> class
        /// </summary>
        /// <param name="configuration">Current configuration.</param>
        public InitializationCompletedEventArgs(USBCConfiguration configuration)
        {
            this.Configuration = configuration;
        }

        /// <summary>
        /// Gets the robot configuration.
        /// </summary>
        public USBCConfiguration Configuration
        {
            get;
            private set;
        }
    }
}
